<%--
  Created by IntelliJ IDEA.
  User: LT
  Date: 2018-11-28
  Time: 8:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <jsp:include page="${pageContext.request.contextPath}/common/tag.jsp"></jsp:include>
    <script>
        function aa(obj) {
            $(obj).addClass("active") ;
            $(obj).siblings().removeClass("active") ;
        }
    </script>

</head>
<body>
<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title">统计信息</h3>
    </div>
    <div class="panel-body">
        <div class="container">
            <div class="col-sm-3">
                <div class="list-group">
                    <a onclick="aa(this)" target="f" href="${pageContext.request.contextPath}/house/xiaoqu.jsp" class="list-group-item active">按小区统计</a>
                    <a onclick="aa(this)" target="f" href="${pageContext.request.contextPath}/house/type.jsp" class="list-group-item">按类型统计</a>
                    <a onclick="aa(this)" target="f" href="${pageContext.request.contextPath}/house/housetype.jsp" class="list-group-item">按户型统计</a>
                    <a onclick="aa(this)"target="f" href="${pageContext.request.contextPath}/house/degree.jsp" class="list-group-item">按装修统计</a>
                </div>
            </div>
            <div class="col-sm-9">
                <iframe width="100%" height="100%" frameborder="0" name="f" src="${pageContext.request.contextPath}/house/xiaoqu.jsp"></iframe>
            </div>
        </div>
    </div>
</div>
</body>
</html>
